package com.diors.autocode.xml;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * model
 * @author	darren.ouyang <ouyang.darren@gmail.com>
 * @date	2013-10-21
 * @version 1.0
 * @copyright Copyright (c) 2013, darren.ouyang
 */
@XmlRootElement(name = "Model")
@XmlAccessorType(XmlAccessType.FIELD)
public class ModelModel 
{
	
	@XmlAttribute(name = "Name")
	private String name;
	
	@XmlAttribute(name = "As_Class")
	private String className;
	
	@XmlAttribute(name = "Value")
	private int value;
	
	@XmlAttribute(name = "Desc")
	private String desc;
	
	@XmlElement(name = "Command")
	private List<CommandModel> commands;

	public String getName() {
		return name;
	}

	public String getClassName() {
		return className;
	}

	public int getValue() {
		return value;
	}

	public String getDesc() {
		return desc;
	}

	public List<CommandModel> getCommands() {
		return commands;
	}
	
}
